
export default {
  page:(data:any)=>window.$http.post('/api/workflow/definition/page', data),
  start:(data:any)=>window.$http.post('/api/workflow/definition/start', data),
  suspend:(data:any)=>window.$http.post('/api/workflow/definition/suspend', data),
  activate:(data:any)=>window.$http.post('/api/workflow/definition/activate', data),
  deploy:(form:FormData)=>window.$http.post('/api/workflow/definition/deploy',form,{headers:{"Content-Type": "multipart/form-data"}})
}